#ifndef _OC_VolumeMesh_H__
#define _OC_VolumeMesh_H__

#include "VolumeObject.h"

class MarchingCubes;

namespace OCPP
{
    namespace Volume
    {
        class _volumeExport VolumeMesh
        {
        public:
            VolumeMesh();
            bool convert(String fileName, FloatVector isoValues, int clipZ, const VolumeGridData& volumeGridData);
            bool convert2(String fileName, FloatVector isoValues, const VolumeGridData& volumeGridData);

            FloatVector run(float isoValue, const VolumeGridData& volumeGridData, const VolumeOptions& options);
        private:
            std::shared_ptr<MarchingCubes> mcPtr;
        };
    }
}

#endif // !_OC_VOLUME_SWAN_H__




